import java.util.Arrays;

public class work3 {
    public static void main(String[] args) {
        String names = "小路djawkdlhjalsd蓉儿wadsd1121过儿wadadw";
        String[] arrs = names.split("\\w+");
        for(int i=0;i< arrs.length;i++){
            System.out.println(arrs[i]);
        }
        System.out.println(Arrays.toString(arrs));
        String names2 = names.replaceAll("\\w+","   ");
        System.out.println(names2);
    }
}
